<?php

    session_destroy();
    setcookie('auto_login','',0);
    echo '<script type="text/javascript">alert("已安全退出！");self.location.href="index.php?c=admin&a=logout&admin=1";</script>';
    //header('location:login.php');

?>